-
Notifications
You must be signed in to change notification settings - Fork 165
Improve ImpTest helpers
#5220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve ImpTest helpers
#5220
Conversation
2997716 to
a5d8109
Compare
c7f0287 to
8155e7c
Compare
4dffd56 to
4bbc441
Compare
ca9c96d to
318a7dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments from me.
I love it, it's so cool how introducing these two methods genRegTxCert and genUnRegTxCert made it possible to remove all these variations of functions
Looks good to me, barring some version changes and changelog suggestions.
eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/ImpTest.hs
Outdated
Show resolved
Hide resolved
eras/dijkstra/impl/testlib/Test/Cardano/Ledger/Dijkstra/ImpTest.hs
Outdated
Show resolved
Hide resolved
2a38bec to
3a5ba4d
Compare
eras/dijkstra/impl/testlib/Test/Cardano/Ledger/Dijkstra/ImpTest.hs
Outdated
Show resolved
Hide resolved
69f068d to
0a24040
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thank you!
eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/RatifySpec.hs
Outdated
Show resolved
Hide resolved
eras/dijkstra/impl/testlib/Test/Cardano/Ledger/Dijkstra/ImpTest.hs
Outdated
Show resolved
Hide resolved
9aa07d4 to
b64db3a
Compare
For some reason, these tests fail if we use certificates with deposits, so as a temporary measure we will avoid using deposits in these cases. Related: #4571
No longer necessary since the introduction of `genRegTxCert`, `genUnRegTxCert` `ShelleyEraImp` typeclass methods.
This reverts commit 9a06817 and related changes.
No longer necessary since the introduction of `genRegTxCert`, `genUnRegTxCert` `ShelleyEraImp` typeclass methods.
8f92290 to
3c72d20
Compare
Co-authored-by: teodanciu <[email protected]>
3c72d20 to
e2ea84f
Compare
Description
Follow-up to #5137
Checklist
CHANGELOG.mdfiles updated for packages with externally visible changes.NOTE: New section is never added with the code changes. (See RELEASING.md).
.cabalandCHANGELOG.mdfiles when necessary, according to theversioning process.
.cabalfiles updated when necessary.NOTE: If bounds change in a cabal file, that package itself must have a version increase. (See RELEASING.md).
scripts/fourmolize.sh).scripts/cabal-format.sh).scripts/gen-cddl.sh)hie.yamlupdated (usescripts/gen-hie.sh).